package Day03;

import java.util.Scanner;

public class SwichCaseDemo {
    public static void main(String[] args) {

        int i ;
        int z = 3;

        Scanner sc = new Scanner(System.in);
        System.out.println("请输入i的值:");
        i = sc.nextInt();

        switch (i){
            case 1:
                System.out.println("情况1");
                break;
            case 2:
                System.out.println("情况2");
                break;
            case 3:
                System.out.println("情况3");
                break;
            default:
                System.out.println("默认情况");



        }


    }
}
